@if(!empty($new_projects))
    @foreach($new_projects as $new_project)
<li class="clear" onclick="getId(this,'iu')" data-id="{{$new_project->id}}">
    <div class="notice-lt fl">
        <div class="notice-lt-tp clear">
            <span class="fl" style="">新手标</span>
            <p class="fl">{{mb_substr($new_project->projects_name,0,20)}}...</p>
        </div>
        <div class="notice-lt-bt">
            <dl class="clear">
                <dd>预期收益</dd>
                <dd>{!!$new_project->auto_rate!!}</dd>
                <dd></dd>
                <dd></dd>
                <dd>期限</dd>
                <dd>{{$new_project->finance_time_num}}</dd>
                <dd>{{$new_project->r_finance_time_cate}}</dd>
                <dd></dd>
                <dd>￥</dd>
                <dd>{{$new_project->finance_rule_money}}</dd>
                <dd>起投</dd>
            </dl>
        </div>
    </div>
    <div class="notice-rt fr">
        <a href="###">抢购</a>
    </div>
</li>
@endforeach
@endif
@foreach($projects as $project)
<li class="clear" onclick="getId(this,'iu')" data-id="{{$project->id}}">
    <div class="notice-lt fl">
        <div class="notice-lt-tp clear">
            <p class="fl">{{mb_substr($project->projects_name,0,20)}}...</p>
        </div>
        <div class="notice-lt-bt">
            <dl class="clear">
                <dd>预期收益</dd>
                <dd>{!!$project->auto_rate!!}</dd>
                <dd></dd>
                <dd></dd>
                <dd>期限</dd>
                <dd>{{$project->finance_time_num}}</dd>
                <dd>{{$project->r_finance_time_cate}}</dd>
                <dd></dd>
                <dd>￥</dd>
                <dd>{{$project->finance_rule_money}}</dd>
                <dd>起投</dd>
            </dl>
        </div>
    </div>
    <div class="notice-rt fr">
        <a href="###">抢购</a>
    </div>
</li>
@endforeach